package com.cash.channel.api.service;

import com.cash.channel.api.exception.CashChannelException;
import com.cash.channel.api.model.ApiRequestModel;
import com.cash.channel.api.model.ApiResponseModel;
import com.cash.channel.api.model.DataModel;

/**
 * @blame taihao
 */
public interface BaseApi<E extends DataModel> {

    ApiResponseModel<E> doProcess(ApiRequestModel apiRequestModel) throws CashChannelException;

}
